@import "./data";
@import "./color";
@import "./mixin";
// section部分
section {
    background-color: $all_list_color;
    // height: 800px;
    overflow: hidden;
    .seckill {
        width: $type_area_width;
        margin: 10px auto;
        overflow: hidden;
        // 限时秒杀
        .limited_time {
            width: 590px;
            height: 298px;
            background: #fff;
            border-radius: 15px;
            float: left;
            .limited_time_title {
                height: 60px;
                line-height: 60px;
                .limited_time_pic {
                    float: left;
                    width: 106px;
                    height: 30px;
                    margin: 15px 0 0 16px;
                    img {
                        width: 100%;
                    }
                }
                .limited_time_word {
                    float: left;
                    height: 16px;
                    line-height: 16px;
                    font-size: 16px;
                    color: #333;
                    margin-left: 16px;
                    margin-top: 28px;
                }
                .limited_time_countdown {
                    float: left;
                    width: 92px;
                    height: 24px;
                    margin-top: 25px;
                    margin-left: 10px;
                    span {
                        display: block;
                        float: left;
                        width: 24px;
                        height: 24px;
                        background-color: #333;
                        border-radius: 4px;
                        line-height: 24px;
                        text-align: center;
                        font-size: 12px;
                        color: #fff;
                    }
                    i {
                        display: block;
                        float: left;
                        line-height: 24px;
                        margin: 0 2px;
                    }
                }
                .limited_time_list {
                    float: right;
                    width: 152px;
                    height: 26px;
                    border-radius: 4px;
                    margin-top: 23px;
                    margin-right: 16px;
                    background-color: #fff;
                    border: 1px solid #ef0027;
                    overflow: hidden;
                    color: #ef0027;
                    text-align: center;
                    line-height: 26px;
                    font-size: 14px;
                    cursor: pointer;
                    .matinee {
                        display: block;
                        float: left;
                        width: 76px;
                        height: 26px;
                    }
                    .evening {
                        display: block;
                        float: left;
                        width: 76px;
                        height: 26px;
                    }
                    .active {
                        background-color: #ef0027;
                        color: #fff;
                    }
                }
            }
            .limited_time_goods {
                // width: 170px;
                height: 238px;
                float: left;
                overflow: hidden;
                ul {
                    height: 238px;
                    width: 100%;
                    li {
                        margin-left: 20px;
                        float: left;
                        .limited_time_goods_pic {
                            display: block;
                            width: 150px;
                            height: 150px;
                            margin: 0 10px 10px 10px;
                            border-radius: 6px;
                            img {
                                width: 100%;
                            }
                        }
                        .limited_time_goods_name {
                            width: 170px;
                            height: 20px;
                            color: #333;
                            font-size: 14px;
                            line-height: 20px;
                            overflow: hidden;
                            text-align: left;
                            word-break: break-all;
                            font-weight: normal;
                            span {
                                display: block;
                                height: 20px;
                            }
                        }
                        .limited_time_goods_price {
                            height: 21px;
                            line-height: 21px;
                            .new_price {
                                float: left;
                                i {
                                    display: inline-block;
                                    font-size: 12px;
                                    color: #f30;
                                }
                                span {
                                    display: inline-block;
                                    color: #f30;
                                    font-size: 18px;
                                    font-weight: bold;
                                    margin-left: -5px;
                                }
                            }
                            .old_price {
                                float: left;
                                margin-left: 5px;
                                i {
                                    display: inline-block;
                                    line-height: 16px;
                                    color: #999;
                                    font-size: 12px;
                                    text-decoration: line-through;
                                }
                                span {
                                    display: inline-block;
                                    line-height: 16px;
                                    color: #999;
                                    font-size: 12px;
                                    text-decoration: line-through;
                                    margin-left: -5px;
                                }
                            }
                        }
                        .limited_time_goods_state {
                            color: #999;
                            font-size: 14px;
                            height: 20px;
                            line-height: 20px;
                            span {
                                display: inline-block;
                                height: 20px;
                            }
                        }
                    }
                }
            }
        }
        // 大聚惠
        .discounts {
            width: 590px;
            height: 298px;
            background: #fff;
            border-radius: 15px;
            float: left;
            margin-left: 10px;
            .discounts_title {
                height: 60px;
                line-height: 60px;
                .discounts_pic {
                    float: left;
                    width: 106px;
                    height: 30px;
                    margin: 15px 0 0 16px;
                    img {
                        width: 100%;
                    }
                }
                .discounts_lable {
                    float: left;
                    height: 24px;
                    margin-top: 20px;
                    line-height: 24px;
                    padding: 0 5px;
                    color: #e7001d;
                    font-size: 14px;
                    font-weight: normal;
                    border: 1px solid #e7001d;
                    border-radius: 4px;
                    margin-left: 10px;
                }
                .discounts_more {
                    float: right;
                    margin-right: 15px;
                    height: 20px;
                    line-height: 20px;
                    margin-top: 20px;
                    &:hover {
                        cursor: pointer;
                    }
                    span {
                        color: #999;
                        font-size: 14px;
                    }
                    i {
                        float: right;
                        margin-left: 3px;
                        display: block;
                        width: 18px;
                        text-align: center;
                        line-height: 23px;
                        font-size: 18px;
                        color: #999;
                    }
                }
            }
            .discounts_goods {
                width: 570px;
                height: 238px;
                ul {
                    li {
                        float: left;
                        width: 170px;
                        height: 238px;
                        margin-left: 20px;
                        .discounts_goods_pic {
                            width: 150px;
                            height: 150px;
                            margin: 0 10px 8px 10px;
                            img {
                                width: 100%;
                            }
                        }
                        .discounts_goods_name {
                            width: 170px;
                            height: 20px;
                            color: #333;
                            font-size: 14px;
                            line-height: 20px;
                            overflow: hidden;
                            text-align: left;
                            word-break: break-all;
                            span {
                                height: 20px;
                                line-height: 20px;
                            }
                        }
                        .discounts_goods_price {
                            height: 21px;
                            line-height: 21px;
                            margin: 4px;
                            margin-left: 0;
                            .price_img {
                                width: 54px;
                                height: 18px;
                                float: left;
                                img {
                                    width: 100%;
                                }
                            }
                            .price_num {
                                float: left;
                                i {
                                    line-height: 21px;
                                    color: #f30;
                                    font-weight: bold;
                                    font-size: 12px;
                                    display: inline-block;
                                    margin-left: 5px;
                                }
                                span {
                                    line-height: 21px;
                                    color: #f30;
                                    font-size: 18px;
                                    font-weight: bold;
                                    margin-left: -5px;
                                }
                            }
                        }
                        .discounts_goods_sales {
                            font-size: 12px;
                            color: #999;
                            height: 18px;
                            line-height: 18px;
                            clear: both;
                        }
                    }
                }
            }
        }
        // 领券中心
        .get_coupon {
            width: 590px;
            height: 298px;
            background: #fff;
            border-radius: 15px;
            float: left;
            margin-top: 10px;
            .get_coupon_title {
                height: 60px;
                line-height: 60px;
                .get_coupon_word {
                    float: left;
                    height: 37px;
                    line-height: 37px;
                    margin: 10px 0 0 16px;
                    overflow: hidden;
                    font-weight: bold;
                    text-align: center;
                    span {
                        color: #333;
                        font-size: 24px;
                        &:hover {
                            color: $nav_import_color;
                            cursor: pointer;
                        }
                    }
                }
                .get_coupon_lable {
                    float: left;
                    height: 24px;
                    margin-top: 16px;
                    line-height: 24px;
                    padding: 0 5px;
                    color: #e7001d;
                    font-size: 14px;
                    font-weight: normal;
                    border: 1px solid #e7001d;
                    border-radius: 4px;
                    margin-left: 10px;
                }
                .get_coupon_more {
                    float: right;
                    margin-right: 15px;
                    height: 20px;
                    line-height: 20px;
                    margin-top: 20px;
                    &:hover {
                        cursor: pointer;
                    }
                    span {
                        color: #999;
                        font-size: 14px;
                    }
                    i {
                        float: right;
                        margin-left: 3px;
                        display: block;
                        width: 18px;
                        text-align: center;
                        line-height: 23px;
                        font-size: 18px;
                        color: #999;
                    }
                }
            }
            .get_coupon_goods {
                width: 570px;
                height: 238px;
                ul {
                    li {
                        float: left;
                        width: 170px;
                        height: 238px;
                        margin-left: 20px;
                        .get_coupon_goods_pic {
                            width: 150px;
                            height: 150px;
                            margin: 0 10px 8px 10px;
                            position: relative;
                            img {
                                width: 100%;
                            }
                            p {
                                position: absolute;
                                width: 42px;
                                height: 44px;
                                background: url(../img/get_coupon_goods_pic_position1.png) no-repeat 0px 0px;
                                background-size: 100% 100%;
                                top: 0;
                                left: -10px;
                            }
                        }
                        .coupons_main {
                            width: 168px;
                            height: 68px;
                            background: url(../img/coupons_main_bg.png);
                            background-size: 100% 100%;
                            .condition {
                                height: 20px;
                                width: 140px;
                                color: #f30;
                                font-size: 16px;
                                font-weight: bold;
                                line-height: 20px;
                                text-align: center;
                                margin-top: 2px;
                                padding: 0 15px;
                                white-space: nowrap;
                                overflow: hidden;
                                text-overflow: ellipsis;
                            }
                            .store {
                                height: 16px;
                                width: 140px;
                                color: #f30;
                                font-size: 12px;
                                line-height: 16px;
                                text-align: center;
                                padding-left: 15px;
                                overflow: hidden;
                            }
                            .get_btn {
                                display: block;
                                margin-left: 51px;
                                margin-top: 4px;
                                height: 20px;
                                width: 68px;
                                color: #fff;
                                background: #f50;
                                font-size: 12px;
                                border: 1px solid #f50;
                                line-height: 20px;
                                text-align: center;
                                border-radius: 3px;
                                cursor: pointer;
                            }
                        }
                    }
                }
            }
        }
        // 推荐榜单
        .recommended_list {
            width: 590px;
            height: 298px;
            background: #fff;
            border-radius: 15px;
            float: left;
            margin-top: 10px;
            margin-left: 10px;
            position: relative;
            overflow: hidden;
            .recommended_list_title {
                height: 60px;
                line-height: 60px;
                .recommended_list_word {
                    float: left;
                    height: 37px;
                    line-height: 37px;
                    margin: 10px 0 0 16px;
                    overflow: hidden;
                    font-weight: bold;
                    text-align: center;
                    span {
                        color: #333;
                        font-size: 24px;
                        &:hover {
                            color: $nav_import_color;
                            cursor: pointer;
                        }
                    }
                }
                .recommended_list_lable {
                    float: left;
                    height: 24px;
                    margin-top: 16px;
                    line-height: 24px;
                    padding: 0 5px;
                    color: #e7001d;
                    font-size: 14px;
                    font-weight: normal;
                    border: 1px solid #e7001d;
                    border-radius: 4px;
                    margin-left: 10px;
                }
                .recommended_list_more {
                    float: right;
                    margin-right: 15px;
                    height: 20px;
                    line-height: 20px;
                    margin-top: 20px;
                    &:hover {
                        cursor: pointer;
                    }
                    span {
                        color: #999;
                        font-size: 14px;
                    }
                    i {
                        float: right;
                        margin-left: 3px;
                        display: block;
                        width: 18px;
                        text-align: center;
                        line-height: 23px;
                        color: #999;
                        font-size: 18px;
                    }
                }
            }
            .recommended_list_goods {
                width: 570px;
                height: 238px;
                dl {
                    float: left;
                    width: 170px;
                    height: 238px;
                    margin-left: 20px;
                    dt {
                        width: 150px;
                        height: 150px;
                        margin: 0 10px 8px 10px;
                        position: relative;
                        img {
                            width: 100%;
                        }
                    }

                    .recommended_list_goods_name {
                        color: #333;
                        height: 20px;
                        font-size: 14px;
                        text-align: center;
                        line-height: 20px;
                        width: 170px;
                        margin: 10px 0 5px 0;
                    }
                }
                .recommended_list_goods_heat {
                    color: #f20;
                    font-size: 14px;
                    height: 20px;
                    line-height: 20px;
                    text-align: center;
                    width: 170px;
                    position: relative;
                    margin-left: 10px;
                    p {
                        position: absolute;
                        width: 15px;
                        height: 15px;
                        top: 2px;
                        left: 24px;
                        img {
                            width: 100%;
                            height: 100%;
                        }
                    }
                }
            }
        }
        // 苏宁直播
        .suning_live {
            width: 590px;
            height: 270px;
            background: #fff;
            border-radius: 15px;
            float: left;
            margin-top: 10px;
            // margin-left: 10px;
            .suning_live_title {
                height: 60px;
                line-height: 60px;
                .suning_live_word {
                    float: left;
                    height: 37px;
                    line-height: 37px;
                    margin: 10px 0 0 16px;
                    overflow: hidden;
                    font-weight: bold;
                    text-align: center;
                    span {
                        color: #333;
                        font-size: 24px;
                        &:hover {
                            color: $nav_import_color;
                            cursor: pointer;
                        }
                    }
                }
                .suning_live_lable {
                    float: left;
                    height: 24px;
                    margin-top: 16px;
                    line-height: 24px;
                    padding: 0 5px;
                    color: #e7001d;
                    font-size: 14px;
                    font-weight: normal;
                    border: 1px solid #e7001d;
                    border-radius: 4px;
                    margin-left: 10px;
                }
                .suning_live_more {
                    float: right;
                    margin-right: 15px;
                    height: 20px;
                    line-height: 20px;
                    margin-top: 20px;
                    &:hover {
                        cursor: pointer;
                    }
                    span {
                        color: #999;
                        font-size: 14px;
                    }
                    i {
                        float: right;
                        margin-left: 3px;
                        display: block;
                        width: 18px;
                        text-align: center;
                        line-height: 23px;
                        font-size: 18px;
                        color: #999;
                    }
                }
            }
            .suning_live_list {
                width: 570px;
                height: 210px;
                .live_pic {
                    width: 160px;
                    height: 194px;
                    position: relative;
                    cursor: pointer;
                    margin-left: 30px;
                    border-radius: 10px;
                    overflow: hidden;
                    float: left;
                    &:hover > .mask {
                        display: block;
                    }
                    img {
                        width: 100%;
                        height: 100%;
                    }
                    p {
                        position: absolute;
                        width: 160px;
                        height: 46px;
                        line-height: 66px;
                        bottom: 0;
                        font-size: 14px;
                        color: #fff;
                        text-indent: 8px;
                    }
                    .dynamic {
                        display: block;
                        width: 22px;
                        height: 22px;
                        position: absolute;
                        top: 10px;
                        left: 5px;
                        background-color: hotpink;
                        border-radius: 3px;
                        background-image: linear-gradient(-90deg, #ff2062, #ff174b);
                    }
                    .mask {
                        width: 160px;
                        height: 194px;
                        background-color: rgba($color: #000000, $alpha: 0.6);
                        position: absolute;
                        display: none;
                        top: 0;
                        img {
                            display: block;
                            width: 120px;
                            height: 120px;
                            position: absolute;
                            top: 50%;
                            left: 50%;
                            margin-top: -68px;
                            margin-left: -60px;
                        }
                        span {
                            width: 120px;
                            height: 20px;
                            line-height: 20px;
                            position: relative;
                            top: 83%;
                            left: 50%;
                            margin-left: -60px;
                            color: #fff;
                        }
                    }
                }
            }
        }
        // 苏宁拼购
        .group_buying {
            width: 590px;
            height: 270px;
            background: #fff;
            border-radius: 15px;
            float: left;
            margin-top: 10px;
            margin-left: 10px;
            .group_buying_title {
                height: 60px;
                line-height: 60px;
                .group_buying_word {
                    float: left;
                    height: 37px;
                    line-height: 37px;
                    margin: 10px 0 0 16px;
                    overflow: hidden;
                    font-weight: bold;
                    text-align: center;
                    span {
                        color: #333;
                        font-size: 24px;
                        &:hover {
                            color: $nav_import_color;
                            cursor: pointer;
                        }
                    }
                }
                .group_buying_lable {
                    float: left;
                    height: 24px;
                    margin-top: 16px;
                    line-height: 24px;
                    padding: 0 5px;
                    color: #e7001d;
                    font-size: 14px;
                    font-weight: normal;
                    border: 1px solid #e7001d;
                    border-radius: 4px;
                    margin-left: 10px;
                }
                .group_buying_more {
                    float: right;
                    margin-right: 15px;
                    height: 20px;
                    line-height: 20px;
                    margin-top: 20px;
                    &:hover {
                        cursor: pointer;
                    }
                    span {
                        color: #999;
                        font-size: 14px;
                    }
                    i {
                        float: right;
                        margin-left: 3px;
                        display: block;
                        width: 18px;
                        text-align: center;
                        line-height: 23px;
                        font-size: 18px;
                        color: #999;
                    }
                }
            }
            .group_buying_goods {
                width: 570px;
                height: 210px;
                overflow: hidden;
                dl {
                    width: 170px;
                    height: 194px;
                    float: left;
                    margin-left: 20px;
                    position: relative;
                    padding-bottom: 20px;
                    cursor: pointer;
                    &:hover > .mask {
                        display: block;
                    }
                    .group_buying_pic {
                        width: 150px;
                        height: 150px;
                        position: relative;
                        img {
                            width: 100%;
                            height: 100%;
                        }
                    }
                    .group_buying_msg {
                        height: 20px;
                        line-height: 20px;

                        .price {
                            height: 20px;
                            line-height: 20px;
                            float: left;
                            i {
                                display: inline-block;
                                margin-left: 3px;
                                font-size: 12px;
                                color: #f30;
                            }
                            span {
                                display: inline-block;
                                margin-left: -5px;
                                font-size: 20px;
                                color: #f30;
                                font-weight: bold;
                            }
                        }
                        .sold {
                            float: left;
                            line-height: 16px;
                            color: #999;
                            font-size: 12px;
                            margin-left: 10px;
                            margin-top: 4px;
                        }
                    }
                    .mask {
                        width: 160px;
                        height: 194px;
                        background-color: rgba($color: #000000, $alpha: 0.6);
                        position: absolute;
                        display: none;
                        top: 0;
                        img {
                            display: block;
                            width: 120px;
                            height: 120px;
                            position: absolute;
                            top: 50%;
                            left: 50%;
                            margin-top: -68px;
                            margin-left: -60px;
                        }
                        span {
                            width: 120px;
                            height: 20px;
                            line-height: 20px;
                            position: relative;
                            top: 83%;
                            left: 50%;
                            margin-left: -60px;
                            color: #fff;
                        }
                    }
                }
            }
        }
    }
}